home *** CD-ROM | disk | FTP | other *** search
/ Computer Inter@ctive 16 / Computer Interactive cdrom 16 - dic 98.iso / zdnetit / content / WHANEW.ZIP / MAKE_LST.BAT < prev    next >
Encoding:
DOS Batch File  |  1996-10-02  |  616 b   |  31 lines

  1. ECHO OFF
  2. CLS
  3. ECHO:
  4. ECHO    ((((( Moving to the Root Directory )))))
  5. ECHO:
  6. ECHO:
  7. CD \
  8. if exist DIR_FILS.LST GOTO HERE
  9. GOTO THERE
  10. :HERE
  11. if exist DIR_FILS.BAK GOTO PURGE
  12. GOTO NEXT
  13. :PURGE
  14. ECHO `DIR_FILS.LST' and `DIR_FILS.BAK' Exist, Deleting `DIR_FILS.BAK'
  15. ECHO:
  16. ECHO:
  17. DEL DIR_FILS.BAK
  18. :NEXT
  19. ECHO `DIR_FILS.LST' already Exists, Renaming to `DIR_FILS.BAK'
  20. ECHO:
  21. ECHO:
  22. REN DIR_FILS.LST DIR_FILS.BAK
  23. :THERE
  24. ECHO  Creating a New `DIR_FILS.LST'    Please STANDBY ........
  25. ECHO:
  26. ECHO:
  27. DIR/S/A *.* >DIR_FILS.LST
  28. ECHO  A New `DIR_FILS.LST' has been Created here in the Root Directory
  29. ECHO:
  30. ECHO:
  31.